<?php $this->_extends('_layouts/remailing_layout'); ?>

<?php $this->_block('title'); ?> - 接收邮件设置<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

<div id="getting-started" alt="接收邮件设置">
	
	<?php $this->_element('formview_simple',array('form'=>$form)); ?>
	
	<table>
		<tr><th width="5" align="center">　</th><th>邮件地址</th><th>创建时间</th><th width="105">操作</th></tr>
		<?php foreach ($group as $s): ?>
		<tr class="<?php if(($countno+1)/2==ceil(($countno+1)/2)){echo 'tw';} ?>"><td><?php echo $countno++;?></td><td><?php echo $s->mail;?></td><td><?php echo $s->create_time;?></td><td><a href="<?php echo url('default::default/framework', array('id' => $s->id().'|edit','control' => 'default','acts' => 'remailing|userwel')); ?>"><img src="images/icons/edit.png"></a> <a href="<?php echo url('default::default/framework', array('id' => $s->id().'|del','control' => 'default','acts' => 'remailing|userwel')); ?>" onclick="return confirm('您确定要删除吗?');"><img src="images/icons/del.png"></a></td></tr>
		<?php endforeach; ?>
		<tr>
      <td colspan="7" align="center"><center><input id="startd" type="hidden" value="<?php echo $startd;?>"><input id="endd" type="hidden" value="<?php echo $endd;?>">
       共有 <font color="Red"><?php echo $pager['record_count'];?></font> 条记录,分为 <font color="Red"><?php echo $pager['page_count'];?></font> 页显示,当前第 <font color="Red"><?php echo $pager['current'];?></font>页,每页 <font color="Red"><?php echo $pager['page_size'];?></font> 条<?php echo $pagestr; ?></center>
		</td>
		</tr>
	</table>
</div>

<?php $this->_endblock('contents'); ?>
